import { Routes, Route } from 'react-router-dom';
import Layout from '@/components/layout/Layout';
import ChatPage from '@/components/chat/ChatPage';
import HistoryPage from '@/components/history/HistoryPage';
import SettingsPage from '@/components/settings/SettingsPage';
import NotFoundPage from '@/components/common/NotFoundPage';

function App() {
  return (
    <Layout>
      <Routes>
        <Route path="/" element={<ChatPage />} />
        <Route path="/history" element={<HistoryPage />} />
        <Route path="/settings" element={<SettingsPage />} />
        <Route path="*" element={<NotFoundPage />} />
      </Routes>
    </Layout>
  );
}

export default App; 